package Cale;

import static org.junit.Assert.*;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

public class textTest {

	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
	}

	@AfterClass
	public static void tearDownAfterClass() throws Exception {
	}

	@Before
	public void setUp() throws Exception {
	}

	@After
	public void tearDown() throws Exception {
	}

	/*@Test
	public void testGetResult() {
		fail("Not yet implemented");
		
	}*/

	@Test
	public void testAdd() {
		//fail("Not yet implemented");
		int a=text.Add(4, 5);
		assertEquals(a, 9);
	}

	@Test
	public void testSubstract() {
		int a=text.Substract(8, 4);
		assertEquals(a, 4);
	}

	@Test
	public void testMultiply() {
		/*int a=text.Multiply(a, b);*/
		assertEquals("", "");
	}

	@Test
	public void testDivide() {
		int a=text.Divide(10, 5);
		assertEquals(a, 2);
	}

	@Test
	public void testClear() {
		int a=text.Clear(4, 5);
		assertEquals(a, 0);
	}

}
